package com.gjy.sb.controller;

import com.gjy.sb.service.UserService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-03-12 08:36:57
 */
@RestController
@RequestMapping("/user")
public class UserController {

    @Resource
    private UserService userService;

    @RequestMapping("/hello")
    public String hello() {
        userService.saveUser();
        return "hello";
    }
}
